<?php

class Websis_View_Helper_MoneyFormat extends Zend_View_Helper_Abstract
{

    public function moneyFormat($valor, $boExibeZero = false, $simbolo = null)
    {
        if($valor){
            return $simbolo . number_format($valor, 2, ',', '.');
        }
        return $boExibeZero ? $simbolo . '0,00' : null;
    }
}
